package com.xinzhi.savingpot.background.service.impl;

import com.xinzhi.savingpot.background.entity.User;
import com.xinzhi.savingpot.background.mapper.IUserMapper;
import com.xinzhi.savingpot.background.service.IUserService;
import com.xinzhi.savingpot.util.MD5Util;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    IUserMapper IUserMapper;

    @Override
    public User queryUserByName(String userName) {


            return IUserMapper.queryUserByName(userName);
    }
}
